package cn.wolfcode.crm.util;

import lombok.Getter;
import lombok.Setter;
import org.junit.Test;

import java.util.Collections;
import java.util.FormatFlagsConversionMismatchException;
import java.util.List;
@Getter
public class PageResult {
    public static final PageResult PAGERESULT_EMPTY = new PageResult(0,Collections.EMPTY_LIST);
    private Integer total;
    private List<?> rows;
    public PageResult(Integer total,List<?> rows){
        this.total = total;
        this.rows = rows;
    }

}
